home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-11 | 1.7 KB | 72 lines | [TEXT/CWIE] |
- // CModalButtons.h -- dialog class
-
- #pragma once
-
- #include <LGADialog.h>
-
- class LStream;
-
- class LStaticText;
- class CInvisibleButton;
- class LPushButton;
- class LTextGroupBox;
- class LBevelButton;
- class LCicnButton;
- class CPushButton;
- class LButton;
-
-
- //----------
- class CModalButtons : public LGADialog {
- public: // these comprise the programming interface for using the dialog
- static CModalButtons* CreateModalButtons (LCommander* inSuperCommander,
- CommandT inCommand);
-
- // these functions will be obsoleted
- // retained only for backwards compatibility
-
- public: // these comprise the implementation
- enum { class_ID = 'Mods' };
-
- CModalButtons (LStream* inStream);
- virtual ~CModalButtons();
-
- virtual void ListenToMessage (MessageT inMessage,
- void *ioParam);
-
- virtual Boolean ObeyCommand (CommandT inCommand,
- void *ioParam = nil);
- virtual void FindCommandStatus (CommandT inCommand,
- Boolean &outEnabled,
- Boolean &outUsesMark,
- Char16 &outMark,
- Str255 outName);
-
- protected:
- static void RegisterClass();
- virtual void FinishCreateSelf();
- virtual void DataChanged (long inDataID);
-
- protected:
- static Boolean sIsRegistered;
- CommandT mCommand;
-
- CInvisibleButton* mInvisibleButton;
- LPushButton* mStandardButton;
- LPushButton* mDefaultButton;
- LBevelButton* mButtonButton;
- LBevelButton* mNextButton;
- LBevelButton* mNext2Button;
- LCicnButton* mRightButton;
- CPushButton* mLightButton;
- LButton* mRight2Button;
- CPushButton* mButton2Button;
- LButton* mRight3Button;
- CPushButton* mRect3DButton;
- LPushButton* mLeftIconButton;
- LPushButton* mRightIconButton;
- CPushButton* mTitledPICTButton;
- LPushButton* mOKButton;
-
- };
-